package com.nacos.consumer.client;

import entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @ClassName:
 * @author:
 * @Description:
 * @Date
 **/
@FeignClient("service-provider")
public interface UserClient {
    @GetMapping("/user/addUser")
    String add();

    @GetMapping("/user/findAllUser")
    String findAllUser();

    @GetMapping("/user/findUser")
    String findUserById();
}
